@import './part/base';
@import './part/function';
@import './part/mixin';
@import './part/nav';

body {
  padding-bottom: 100px;
}

ul, li {
  list-style: none;
}

.list_main {
  margin-top: 50px;
  padding: 20px 0;
  .add_server {
    position: relative;
    width: 127px;
    height: 36px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 36px;
    text-align: right;
    color: $sec-color;
    cursor: pointer;
    border-radius: 100px;
    background: #FFFFFF;
    border: 1px solid rgba(144, 164, 174, 0.28);
    i {
      position: absolute;
      top: 50%;
      left: 15px;
      margin-top: -7px;
    }
  }
  .title_button {
    display: none;
    height: 36px;
    color: #fff;
    text-align: center;
    line-height: 36px;
    border-radius: 100px;
    background: -webkit-linear-gradient(90deg, #FE763A, #FFAE6C); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(90deg, #FE763A, #FFAE6C); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(90deg, #FE763A, #FFAE6C); /* Firefox 3.6 - 15 */
    background: linear-gradient(90deg, #FE763A, #FFAE6C); /* 标准的语法 */
    cursor: pointer;
  }
  #purchase {
    width: 110px;
  }
  #add_subordinate {
    width: 133px;
  }
  #add_teacher {
    width: 133px;
  }
}

.server_wrap {
  background: #FFFFFF;
  box-shadow: 0 1px 6px 4px rgba(192, 191, 191, 0.10);
  border-radius: 5px;
  .server_title {
    height: 95px;
    background: -webkit-linear-gradient(90deg, #FE763A, #FFAE6C); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(90deg, #FE763A, #FFAE6C); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(90deg, #FE763A, #FFAE6C); /* Firefox 3.6 - 15 */
    background: linear-gradient(90deg, #FE763A, #FFAE6C); /* 标准的语法 */
    border-radius: 5px 5px 0 0;
  }
  .base_info {
    padding: 25px 15px 0;
    .server_state {
      font-size: 12px;
      p {
        color: $main-color;
      }
      li {
        margin-left: 20px;
        color: $sec-color;
      }
      li.state_choose {
        color: #FE793D !important;
      }
    }
    .server_check {
      @at-root .time_heng {
        line-height: 30px;
        padding: 0 10px;
      }
      @at-root .time_group {
        position: relative;
        width: 100px;
        .time_icon {
          position: absolute;
          right: 7px;
          top: 50%;
          margin-top: -10px;
        }

        .form-control {
          height: 30px !important;
          padding: 5px 10px !important;
          background-color: #fff;
        }
      }
      @at-root .choose_time {
        margin-left: 30px;
        p {
          display: inline-block;
          margin-top: 6px;
          font-size: 12px;
        }

        .time_list {
          padding: 6px 12px;
          color: $main-color;
          cursor: pointer;
          border-radius: 20px;
          font-size: 12px;
        }

        .time_choose {
          color: #fff !important;
          background: -webkit-linear-gradient(90deg, #FE763A, #FFAE6C); /* Safari 5.1 - 6.0 */
          background: -o-linear-gradient(90deg, #FE763A, #FFAE6C); /* Opera 11.1 - 12.0 */
          background: -moz-linear-gradient(90deg, #FE763A, #FFAE6C); /* Firefox 3.6 - 15 */
          background: linear-gradient(90deg, #FE763A, #FFAE6C); /* 标准的语法 */
        }
      }
    }
  }
  .all_list {
    .list_team {
      padding: 20px 0;
      .border_height {
        display: inline-block;
        width: 1px;
        height: 60px;
        background-color: rgba(0, 0, 0, .1);
      }
      .info_money {
        font-size: 24px;
        color: $main-color;
      }
      .info_name {
        font-size: 12px;
        color: $sec-color;
      }
    }
  }
  .table_body {
    padding: 0 15px;
    tbody {
      font-size: 12px;
      td {
        padding: 20px 8px;
      }
    }
    .table_operation {
      a {
        display: inline-block;
        color: $choose-color;
        margin-right: 20px;
      }
    }
  }
}

// tab
.server_tab {
  display: block;
  width: 100%;
  height: 95px;
  padding: 0;
  margin: 0;
  li.choose_tab {
    opacity: 1;
  }
  li {
    display: block;
    width: 20%;
    height: 100%;
    float: left;
    text-align: center;
    opacity: .5;
    a {
      display: block;
      text-align: center;
      width: 40%;
      margin: 0 auto;
      height: 100%;
      padding-top: 20px;
      img {
        display: block;
        width: 26px;
        height: 26px;
        margin: 0 auto;
      }
      p {
        display: inline-block;
        color: #fff;
        margin-top: 10px;
        font-size: 12px;
      }
    }
  }
}

// 基本信息
#baseinfo {
  padding: 0 15px;
}

.baseinfo_wrap {
  padding: 30px 0;
  p {
    display: block;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    float: left;
  }
}

// 下划线
.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

// 师训账号
#teacher_acount {
  padding: 20px 15px 0;

}

// 下属机构
#subordinate {
  padding: 20px 15px 0;
  .institution_operation {
    a {
      color: #FE763A;
    }
  }
}

select.usertype {
  margin-left: 20px;
  font-size: 12px !important;
  height: 30px !important;
  line-height: 30px !important;
}

// 订单列表
#order_list {
  padding: 20px 15px 0;
}

// 这是时间 列表的
.datetimepicker {
  position: absolute;
  margin: 64px 0 0 -85px !important;
}

// 添加师训账号 modal

// 下属机构 modal
#addSubordinate{

  @media (min-width: 768px) {
    .modal-dialog {
      width: 550px;
      margin: 30px auto;
    }
  }
  h4.modal-title{
    text-align: center;
  }
  .server_list{
    display: block;
    font-size: 12px;
    .server_title{
      line-height: 30px;
    }
    .server_position{
      margin-right: 8px;
      height: 30px;
      line-height: 30px;
      select{
        height: 30px;
        line-height: 30px;
        padding: 0;
        font-size: 12px;
      }
    }
  }
  .time_group{
    position: relative;
    width: 130px;
    .time_icon{
      position: absolute;
      right: 7px;
      top: 50%;
      margin-top: -9px;
    }
  }
  .server_timeValidity{
    #year_val{
      padding: 0 10px;
    }
    .form-group{
      p{
        display: block;
        width: auto;
        line-height: 34px;
        padding: 0 15px 0 10px;
      }
    }
  }
  .server_timeValidity_list{
    p,.form-group{
      margin: 0 !important;
    }
  }
  .modal-footer{
    padding: 15px 30px;
    .btn{
      width: 96px;
      height: 34px;
      border-radius: 100px;
      border: none;
    }
    .btn_cancel{
      color: $sec-color;
      opacity: 0.7;
      background: -webkit-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Safari 5.1 - 6.0 */
      background: -o-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Opera 11.1 - 12.0 */
      background: -moz-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Firefox 3.6 - 15 */
      background: linear-gradient(90deg, #E4E7EA, #F3F5F6); /* 标准的语法 */
    }
    .btn_save{
      color: #fff;
      background: -webkit-linear-gradient(90deg, #FE763A, #FFAE6C); /* Safari 5.1 - 6.0 */
      background: -o-linear-gradient(90deg, #FE763A, #FFAE6C); /* Opera 11.1 - 12.0 */
      background: -moz-linear-gradient(90deg, #FE763A, #FFAE6C); /* Firefox 3.6 - 15 */
      background: linear-gradient(90deg, #FE763A, #FFAE6C); /* 标准的语法 */
    }
  }
}

// 进货 modal
@media (min-width: 768px) {
  .modal-dialog {
    width: 500px;
    margin: 30px auto;
  }
}

.purchaseModal_body {
  .purchaseModal_style {
    p {
      height: 34px;
      line-height: 34px;
    }
    .form-group {
      margin-bottom: 0;
    }
  }
  .bottom_top {
    padding-top: 20px;
  }
  .purchaseModal_money {
    padding: 20px 15px;
    p {
      float: left;
    }
    p:first-child {
      position: relative;
      top: 5px;
      margin-right: 10px;
      font-size: 14px;
      color: $sec-color;
    }
    p:last-child {
      font-size: 20px;
      color: #FE763A;
    }
  }
}

.btn_group {
  padding-bottom: 20px;
  .purchase_cancel {
    color: $sec-color;
    background: -webkit-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(90deg, #E4E7EA, #F3F5F6); /* Firefox 3.6 - 15 */
    background: linear-gradient(90deg, #E4E7EA, #F3F5F6); /* 标准的语法 */

  }
  .purchase_pay {
    color: #fff;
    background: -webkit-linear-gradient(90deg, #FE763A, #FFAE6C); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(90deg, #FE763A, #FFAE6C); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(90deg, #FE763A, #FFAE6C); /* Firefox 3.6 - 15 */
    background: linear-gradient(90deg, #FE763A, #FFAE6C); /* 标准的语法 */
  }
}
